package com.sws.mapping;

import java.util.List;
import java.util.Map;

import com.sws.domain.Activity;
import com.sws.model.ActivityModel;
import com.sws.model.bean.S2CActivityBean;

public interface ActivityMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Activity record);

    int insertSelective(Activity record);

    Activity selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Activity record);

    int updateByPrimaryKey(Activity record);
    
    void uploadActivity(ActivityModel model);
    
    List<S2CActivityBean> getPersonalActivity(Map<String, Object> map);
}